<include file="./Tpl/Home/Header.html"/>
<script type="text/javascript" charset="utf-8" async="" src="__PUBLIC__/factory/crmqq.php"></script><script type="text/javascript" charset="utf-8" async="" src="__PUBLIC__/factory/contains.js"></script><script type="text/javascript" charset="utf-8" async="" src="__PUBLIC__/factory/localStorage.js"></script><script type="text/javascript" charset="utf-8" async="" src="__PUBLIC__/factory/Panel.js"></script>
<script type="text/javascript" charset="utf-8" async="" src="__PUBLIC__/factory/alert.js"></script>
<link href="__PUBLIC__/factory/coincommon_v1.css" rel="stylesheet" type="text/css" media="screen, projection">
<link href="__PUBLIC__/factory/jquery-ui-1.10.4.custom.min.css" rel="stylesheet" type="text/css" media="screen, projection">
<style type="text/css">
.buttonGreen2 {
	background: none repeat scroll 0 0 #068814;
	color: #FFFFFF;
	display: inline-block;
	font-size: 14px;
	font-weight: 700;
	height: 32px;
	line-height: 32px;
	margin-top: 5px;
	margin-bottom: 5px;
	text-align: center;
	width: 100px;
}
.buttonGray2 {
	background: none repeat scroll 0 0 gray;
	color: #FFFFFF;
	display: inline-block;
	font-size: 14px;
	font-weight: 700;
	height: 32px;
	line-height: 32px;
	margin-top: 5px;
	margin-bottom: 5px;
	text-align: center;
	width: 120px;
}
.buybtc-subscription {
	float: left;
	height: 200px;
	width: 777px;
}
.buybtc-subscription2 {
	float: left;
	height: 300px;
	width: 777px;
}
.buybtcbody-subscription {
	height: 242px;
}
.finger_img {
	margin-bottom: 35px;
	margin-left: 278px;
	margin-top: -450px;
}
.finger_img1 {
	margin-bottom: 28px;
	margin-left: 13px;
	margin-top: -521px;
}
td {
	text-align: center;
}
.lasttenorder table td {
	border-top: 0px solid #e4e4e4;
	height: 30px;
}
.buysellinput-2 {
	border: 1px solid #e1e1e1;
	height: 20px;
	line-height: 30px;
	width: 30px;
}
.wakuang,.shouyi{width: 150px;
height: 30px;
line-height: 30px;
font-size: 14px;
font-weight: 700;
background: #FF8C19;
height: 35px;
line-hright: 35px;
padding-left: 10px;
border-radius:5px;
 margin:20px;}
</style>

<div class="marketArea clear"> 	<include file="./Tpl/Home/Left.html"/>

  <div class="rightArea">
    <div class="buysellTitle">
      <div class="selecttab1">
        <ul class="selecttab-box1">
          <li class=""> <a href="?s=Home/Factory/index" class="otherBoxTitle">矿机工厂</a> </li>
          <li class=""> <a href="?s=Home/Factory/wakuang" class="otherBoxTitle">挖矿中心</a> </li>
          <li class="cur"> <a href="?s=Home/Factory/paihangbang" class="otherBoxTitle">排行榜</a> </li>
        </ul>
 </div>
 </div>
 	<style>
    	table{ width:100%;}
    	td{ border:1px solid #AFAFAF; font-size:18px; font-weight:700; width:120px; height:45px;}
    </style>
     <table class="items table table-striped table-bordered table-condensed detail_tb">
                      <tbody>
                      <tr>
                       		<td class="tb_tit">排名</td>
                          	<td class="tb_tit">UID</td>
                           <td class="tb_tit">算力</td>
                      </tr>
                      <foreach name='suanli' key='i' item='v'>
                      		<tr>
                            	<td>{$i+1}</td>
                                <td>{$v.username}</td>
                                <td>{$v.allsuanli}</td>
                            </tr>
                      </foreach>
                       
                      </tbody>
                  </table>
 
 
 </div>
 <include file="./Tpl/Home/Footer.html"/>

       <script type="text/javascript">
	function wakuang(){
		$.post("__APP__/?s=Home/Factory/dowakuang",'1',function(data){
			msgDalog(data.info,"",0);
		});
	}
	function shouhuo(){
		$.post("__APP__/?s=Home/Factory/shouhuo",'1',function(data){
			msgDalog(data.info,"",0);
		});
		}
    //显示当前类别样式
    $('#left_main_trance').removeClass().addClass('tradeTitlecur');//一级
    $('#left_main_trance span').removeClass().addClass('trade1cur');
    $('#left_factory').addClass('cur');//二级
</script> 